package com.youxiake.lock;

import org.openjdk.jol.info.ClassLayout;

public class JOLDemo {
    public static void main(String[] args) {
        Object o = new Object();
        System.out.println(ClassLayout.parseInstance(new o()).toPrintable());
    }
}

class o {
    private boolean flag;
    private int j;
}